import request from '@/utils/request'

// 用电单位列表
export const getCompanyListApi = (params) =>
  request.get('/ecm-microservice-biz/ecm/basic/energyType/getCompanyList', { params })

// 设备运行时间甘特图
export const getganttApi = (params) =>
  request.get('/ecm-microservice-biz/ecm/device/running/time/data/gantt/chart', { params })

// 运行时间表格
export const getTableListApi = (params) =>
  request.get('/ecm-microservice-biz/ecm/device/running/time/data/list', { params })
